
class MyData {


//nea gramateia
class newdataScr{
public:
String onoma;
String eponimo;
String patronimo;
String diefthinsi;
String town;
String tilefwno;
String kinito;
String id;
String ika;
String oik_katastasi;
String passw;
} ;

//neos foititis - h gia tropopoihsh
class newdataSpoud{
public:
String onoma;
String eponimo;
String patronimo;
String am;   //apo to sistima
String am_math; //apo to sistima
String odeio;
String odos_odeiou;
} ;


//epiprostheta stoixeia foititi (neou h iparxon)
class newSecondataSpoud{
public:
String pat_epagelm;
String mit_epagelm;
String address;
String num_adress;
String town;   //apo to sistima
String stathero; //apo to sistima
String kinito;
String lessons; //poia mathimata parakolouthei
int hasbrothers_id; //idiko mitrwo adelfou (an den exei tote -1)
double didaktra;
} ;



//palaioteres spoudes spudasti
class hasoldSpoud{
public:
String old_odio_name;
String town_odio;
String title_lesson;
String vathmos_lesson;
} ;


//se periptwsi katataxtiriwn
class hasKatataksiSpoud{
public:
String etos_katat;
String vathm_katat;
} ;



public:
String username;
String password;
newdataScr new_secr;
newdataSpoud new_foitit;//neos h temp  (gia tropopoihsh spoudastis)
newSecondataSpoud new_secd_foitit; //epiprostheta stoixeia foititi (neos h gia tropopoihsh)
hasKatataksiSpoud   hasKatataksiSpd; //ean exei katataxtiries
hasoldSpoud    hasoldSpd; //ean exei palaioteres spoudes

// test-swsto password gia grammateia
String gram_password;
String gram_username;

MyData() {
gram_username="111"; //isodinamo arithmou mitrwou gramatea- tha prepei na allazei dinamika
gram_password="1";
new_secr.id="111";
new_foitit.onoma="onoma1";
new_foitit.eponimo="eponimo1";


new_secd_foitit.didaktra=10.5;
new_secd_foitit.hasbrothers_id=5;

hasoldSpd.old_odio_name= "old odeio";
hasoldSpd.town_odio ="athina";
hasoldSpd.vathmos_lesson= 7;
hasoldSpd.title_lesson= "titlos old mathimatos";

hasKatataksiSpd.etos_katat =2003;
hasKatataksiSpd.vathm_katat =8;




}





};
